<?php

$db = new PGSQLConnector('u_superuser');

$dayRange = range(1,31);
$monthRange = range(1,12);
$yearRange = range(getYear(),getYear()+5);

$template = newPage('period');
$template->title = 'Period Info - IAESTE Application System';
$template->l = $l;
$template->day = $dayRange;
$template->month = $monthRange;
$template->year = $yearRange;

try {
    echo $template->execute();
} catch (Exception $e) {
    echo $e;
}
?>
